﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BW.WMS.BasicData_LC.Dto.Input;
using BW.WMS.BasicData_LC.Dto.OutPut;
using BW.WMS.CodeEnum;
using Volo.Abp.Application.Services;

namespace BW.WMS.BasicData_LC
{
    public interface IOrderFormAppService:IApplicationService
    {
        /// <summary>
        /// 添加
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<ApiResult<int>> AddOrderForm(OrderFormInput  input);
        /// <summary>
        /// 显示分页
        /// </summary>
        /// <param name="output"></param>
        /// <returns></returns>
        Task<ApiPaging<OrderFormDto>> GetOrderForm(OrderFormOutput output);
        /// <summary>
        /// 删除
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<ApiResult<int>> GetOrderDel(Guid id);
        /// <summary>
        /// 修改
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<ApiResult<int>> UpdateOrderForm(OrderFormInput input);
        /// <summary>
        /// 供应商添加
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<ApiResult<int>> AddEnt(AddDm_EntInput input);

        /// <summary>
        /// 供应商下拉框
        /// </summary>
        /// <returns></returns>
        Task<ApiResult<List< Dm_EntDto>>> GetEnt();
        /// <summary>
        /// 商品信息下拉框
        /// </summary>
        /// <returns></returns>
        Task<ApiResult<List< Dm_ItemDto>>> GetItem();
        /// <summary>
        /// 订单信息下拉框
        /// </summary>
        /// <returns></returns>
        Task<ApiResult<List<OrderFormDto>>> GetOrderFormList();
    }
}
